package com.dhcc.wb.gongzhonghao;

import java.io.Serializable;
import java.util.UUID;

/**
 * @author wb
 *
 */
public class UtilArticleModel implements Serializable, Comparable<UtilArticleModel>{
	/**
	 * title、阅读人数、公众号个数、阅读次数
	 */
	private static final long serialVersionUID = 1L;
	
    private String title;//
    private Integer usercount;//
    private Integer gzhcount;//
    private Integer readcount;//
	private String gzhNameListToString;//公众号名字List转成的字符串

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public String getGzhNameListToString() {
		return gzhNameListToString;
	}

	public void setGzhNameListToString(String gzhNameListToString) {
		this.gzhNameListToString = gzhNameListToString;
	}

	@Override
	public int compareTo(UtilArticleModel user) {
		// TODO Auto-generated method stub
		return user.getReadcount() - this.readcount;
	}


	public String getTitle() {
		return title;
	}


	public void setTitle(String title) {
		this.title = title;
	}


	public Integer getUsercount() {
		return usercount;
	}


	public void setUsercount(Integer usercount) {
		this.usercount = usercount;
	}


	public Integer getGzhcount() {
		return gzhcount;
	}


	public void setGzhcount(Integer gzhcount) {
		this.gzhcount = gzhcount;
	}


	public Integer getReadcount() {
		return readcount;
	}


	public void setReadcount(Integer readcount) {
		this.readcount = readcount;
	}


	@Override
	public String toString() {
		return "UtilArticleModel{" +
				"title='" + title + '\'' +
				", usercount=" + usercount +
				", gzhcount=" + gzhcount +
				", readcount=" + readcount +
				", gzhNameListToString='" + gzhNameListToString + '\'' +
				'}';
	}
}
